Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#155576 - 16/04/2003 05:27 Need help with [ir_translate]
puckalicious
member

Registered: 18/01/2002
Posts: 171
Ok first off I'm not too smart with hacking and programming things.
That being said, this is what I'm trying to do. I have my stock steering wheel stereo controls working on my mk2 by using one of those PAC steering wheel remote adapters. I have mapped the rio remote buttons for volume up and down to the steering wheel volume up and down.
The current behavior is each press of the volume up/down translates into a small increment of actual volume up/down, and holding the volume up/down seems to repeat the command and gives a slow progression of volume increase/decrease.
I have added the following to my config.ini :

[ir_translate]
Vol+=Vol+,Vol+,Vol+,Vol+,Vol+
Vol-=Vol-,Vol-,Vol-,Vol-,Vol-

As expected, this generates a greater change of volume with each push of volume up/down. However, when I hold down the volume button it still increases at the same old slow rate.

Any ideas on how to have the volume change quicker when holding the button?

Top
#155577 - 16/04/2003 07:29 Re: Need help with [ir_translate] [Re: puckalicious]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Maybe use a Vol+.L and Vol-.L? This is just a guess, though.
_________________________
Bitt Faulk

Top
#155578 - 16/04/2003 11:16 Re: Need help with [ir_translate] [Re: wfaulk]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Bitt is probably right. The long presses are handled in IR_translate separately. Make sure to read the notes in the FAQ about the ordering of the items in the ini file.

Although I think what this will do is cause a 1sec delay before your short volume presses are registered. Not sure.
_________________________
Tony Fabris

Top
#155579 - 16/04/2003 19:00 Re: Need help with [ir_translate] [Re: tfabris]
puckalicious
member

Registered: 18/01/2002
Posts: 171
Ok thanks for the suggestion, I will try this and post my results.

Top
#155580 - 23/04/2003 14:24 Re: Need help with [ir_translate] [Re: puckalicious]
puckalicious
member

Registered: 18/01/2002
Posts: 171
Ok I finally got around to checking this out. The Vol-.L and Vol+.L don't change the long press behavior, and I ordered them correctly. I added ",null" to the long press and it causes the 1 sec. delay described, and then will continue increasing/decreasing the volume even if the button is released. Still does this at the original, slow rate though.
Out of curiosity, is there a difference between "Vol+" and "VolUp"? And how do I get the volume to increase in greater steps when changed from the knob?


Top
#155581 - 23/04/2003 14:30 Re: Need help with [ir_translate] [Re: puckalicious]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
and then will continue increasing/decreasing the volume even if the button is released
This was a known bug in one of the older releases of hijack that has since been fixed. What version are you running?
_________________________
Tony Fabris

Top
#155582 - 24/04/2003 04:44 Re: Need help with [ir_translate] [Re: tfabris]
puckalicious
member

Registered: 18/01/2002
Posts: 171
I don't know the exact version, but it was the latest available 2-3 weeks ago. I also have the latest empeg software.

Top
#155583 - 24/04/2003 08:54 Re: Need help with [ir_translate] [Re: puckalicious]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
I don't know the exact version, but it was the latest available 2-3 weeks ago.
The bugfix I am referring to was more recent than that. I think you should upgrade to the latest Hijack and try your IR translations again. They might work.
_________________________
Tony Fabris

Top
#155584 - 25/04/2003 06:18 Re: Need help with [ir_translate] [Re: tfabris]
puckalicious
member

Registered: 18/01/2002
Posts: 171
Well I have v333 now and the behavior is the same. I tried Vol+.L=Vol+.L inserted before the normal Vol+ line and it still changes the volume at the slow rate. Is there a separate function controlling the volume rate of change?

Top
#155585 - 25/04/2003 07:33 Re: Need help with [ir_translate] [Re: puckalicious]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Mmm.. the "repeat rate" for a longpress is determined inside the player software, so I don't think translating it is gonna make much difference here.

Perhaps someday I'll tackle an alternative method of handling this.. like maybe just completely hijack the volume control into Hijack. Period.

Cheers

Top
#155586 - 25/04/2003 08:29 Re: Need help with [ir_translate] [Re: mlord]
puckalicious
member

Registered: 18/01/2002
Posts: 171
That would be sweet! My money is on release #438. Hopefully sooner if I sacrifice a virgin to the hijack gods. Er, hijack god.

Top
#155587 - 25/04/2003 09:34 Re: Need help with [ir_translate] [Re: puckalicious]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
"lord", not "god".

And that's "M'Lord" to you!


Top
#155588 - 25/04/2003 11:13 Re: Need help with [ir_translate] [Re: mlord]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Perhaps someday I'll tackle an alternative method of handling this.. like maybe just completely hijack the volume control into Hijack. Period.
Nice. Then we can hack it so that it goes up to eleven.
_________________________
- Tony C
my empeg stuff

Top
#155589 - 25/04/2003 11:30 Re: Need help with [ir_translate] [Re: tonyc]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Nice. Then we can hack it so that it goes up to eleven.
Jeez, it's already GOT that.
_________________________
Tony Fabris

Top
#155590 - 25/04/2003 11:35 Re: Need help with [ir_translate] [Re: tfabris]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Yeah but it doesn't SAY eleven.
_________________________
- Tony C
my empeg stuff

Top
#155591 - 25/04/2003 13:31 Re: Need help with [ir_translate] [Re: tonyc]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
hj-spinal_tap.patch

cd /path/to/hijack_source
patch -p1 < /path/to/hj-spinal_tap.patch




Attachments
155292-hj-spinal_tap.patch (154 downloads)

_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#155592 - 25/04/2003 13:37 Re: Need help with [ir_translate] [Re: genixia]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
- { 0x800, 0xe6c, 1000 }, /* 10.0 dB intensity 1000000.000000 */
+ { 0x800, 0xe6c, 1100 }, /* 10.0 dB intensity 1000000.000000 */


ROFL
_________________________
Tony Fabris

Top
#155593 - 25/04/2003 14:38 Re: Need help with [ir_translate] [Re: genixia]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
hahaha. I like it. If only the display actually showed the numbers 0 through 11..
_________________________
- Tony C
my empeg stuff

Top